package com.exam.mysql;

import com.exam.entity.ExPaper;
import com.exam.entity.ExPaperExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ExPaperDao {
    long countByExample(ExPaperExample example);

    int deleteByExample(ExPaperExample example);

    int deleteByPrimaryKey(Integer paperid);

    int insert(ExPaper record);

    int insertSelective(ExPaper record);

    List<ExPaper> selectByExample(ExPaperExample example);

    ExPaper selectByPrimaryKey(Integer paperid);

    int updateByExampleSelective(@Param("record") ExPaper record, @Param("example") ExPaperExample example);

    int updateByExample(@Param("record") ExPaper record, @Param("example") ExPaperExample example);

    int updateByPrimaryKeySelective(ExPaper record);

    int updateByPrimaryKey(ExPaper record);

    /**
     * 这是Mybatis Generator拓展插件生成的方法(请勿删除).
     * This method corresponds to the database table ex_paper
     *
     * @mbg.generated
     * @author hewei
     */
    int batchInsert(@Param("list") List<ExPaper> list);
}